package com.yixin.hospital.entity.dto.req.drugfactory;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("新增生产厂家请求体")
@Data
public class DrugFactoryAddReqDTO {

    @ApiModelProperty(value = "生产厂家", example = "生产厂家1")
    @NotBlank(message = "生产厂家不能为空")
    private String factory;
}
